package com.qf.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * --- 天道酬勤 ---
 *
 * @author GUOFUCHENG
 * @date 2025/8/12
 * @desc
 */
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Student {
    private int id;
    private String sname;
    private int sex;
    private int age;
    private double score;
    private @DateTimeFormat(pattern = "yyyy-MM-dd") Date birthday;
    private int cid;

}
